{use master_page('front/v_home_master')}

{block body}
<!-- banner -->
<div id="listbanner1"></div>
<div id="listbody">
    <div id="zlmt">
        <b>
            <?php
            $class_name = "";
            switch($_GET['menu']){
                case 'about':
                    $class_name =  '关于欧源';
                    break;
                case 'business_domain':
                    $class_name = '业务领域';
                    break;
                case 'news':
                    $class_name = '新闻资讯';
                    break;
                case 'human_resource':
                    $class_name = '人力资源';
                    break;
                case 'contact_us':
                    $class_name = '联系我们';
                    break;
            }
            echo $class_name;
            ?>
        </b><br/>
        <?php
        switch($_GET['menu']){
            case 'about':
                echo 'About Ouyuan';
                break;
            case 'business_domain':
                echo 'BUSINESS FIELD';
                break;
            case 'news':
                echo 'NEWS';
                break;
            case 'human_resource':
                echo 'HUMAN RESOURCES';
                break;
            case 'contact_us':
                echo 'CONTACT US';
                break;
        }
        ?>
    </div>
    <div id="bread"><div class="tel">服务热线：{site_info->phone}</div></div>
</div>
<!-- banner -->

<!-- content -->
<div id="center">
    <div id="list_l">
        <div id="zlm">
            <ul>
                {#foreach(array(1,2,3) as $v):#}
                <li>
                    <a id="" href="aa" target="">{$v}</a>
                    <!--
                    <ul>
                        <li><a href="aa" target="aa">aa1</a></li>
                    </ul>
                    -->
                </li>
                {#endforeach#}
                <li>
                    <a id="" href="aa" target="">aa</a>
                </li>
                <li>
                    <a id="hove" href="aa" target="">aa</a>
                </li>
                <li>
                    <a id="" href="aa" target="">aa</a>
                </li>
                <li>
                    <a id="" href="aa" target="">aa</a>
                </li>
                <li>
                    <a id="" href="aa" target="">aa</a>
                </li>

            </ul>

        </div>
        <div id="zlmbt">
            {load view('front/v_hotline')}
        </div>
    </div>
    <div id="list_r">
        <?php
        $seg1 = $this->uri->segment(1, 0);
        $seg2 = $this->uri->segment(2, 0);
        // echo $seg2;
        $title1 = "";
        switch($seg1)
        {
            case "guest_book":
                $title1 = "在线留言";
                break;
            case "page":
                $title1 = $page->title;
                break;
            case "article":
                if($seg2=='index'){
                    $title1 = $article_class->title;
                }
                if($seg2=='show'){
                    $title1 = $article->class->title;
                }
                break;
        }
        ?>
        <div id="mbnavi">当前位置：首页 > {class_name} > <b>{title1}</b></div>
        <div id="nrbody">
            {load block('main_body')}
        </div>
    </div>
</div>
<!-- content -->
{end}
